//
//  YWProgressView.h
//  YWPhotoEditMaster
//
//  Created by jun peng on 2023/9/25.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class YWProgressView;
@protocol YWProgressViewDelegate <NSObject>

- (void)progressViewDidTap:(YWProgressView *)progressView;
- (void)progressViewDidStartLongPress:(YWProgressView *)progressView;
- (void)progressViewDidEndLongPress:(YWProgressView *)progressView;


@end


@interface YWProgressView : UIView

@property(nonatomic,weak)id<YWProgressViewDelegate>delegate;

@property (assign, nonatomic) CGFloat progressValue;

-(void)clearProgress;

@end

NS_ASSUME_NONNULL_END
